package business.report.impl;

import business.report.TechnologyPatentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import report.domain.TechnologyPatent;
import report.domain.TechnologyPatentCriteria;
import report.mapper.TechnologyPatentMapper;

import java.util.List;

/**
 * Created by SunZZ on 2016/6/19.
 */
@Service(value = "technologyPatentService")
public class TechnologyPatentServiceImpl implements TechnologyPatentService{
    @Autowired
    TechnologyPatentMapper technologyPatentMapper;

    @Override
    public List<TechnologyPatent> getTechnologyPatent() {
        TechnologyPatentCriteria criteria = new TechnologyPatentCriteria();
        criteria.createCriteria().getAllCriteria();
        return technologyPatentMapper.selectByExample(criteria);
    }
}
